package cn.kgc.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

/**
 * @author wangyue
 * @version 1.0
 * 求职者关注HR
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "cand_follow_hr")
public class CandFollowHrMo {

    @Id
    private String id;

    /**
     * hr的ID
     */
    @Field(value = "hr_id")
    private String hrId;

    /**
     * hr的头像
     */
    @Field("hr_face")
    private String hrFace;

    /**
     * hr的昵称
     */
    @Field("hr_nick_name")
    private String hrNickName;

    /**
     * hr所在的公司
     */
    @Field("company_name")
    private String companyNme;

    /**
     * hr的职位
     */
    @Field("hr_position")
    private String hrPosition;

    /**
     * 记录的创建时间
     */
    @Field("created_date")
    private Date creataedDate;

    /**
     * 求职者的id
     */
    @Field("cand_user_id")
    private String candUserId;

}